Repository navigation
refactor(id): split WorldService impl out of world_session/mod.rs (#4717) - #8382
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 1 minute. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
🤖 Agent note · parked on CI (task 8835, lane code-f) PR #8382 implements the #4717 split: impl WorldService moved verbatim from pkgs/id/src/world_session/mod.rs (now 2,326 lines) into the new pkgs/id/src/world_session/service.rs (778 lines), and the F11.10 grandfather entry for world_session/mod.rs is removed in the same PR. Verified on the laptop: cargo test --lib world_session 64/64 pass, rustfmt clean, the guard no longer flags either file. The approach adopts an earlier session's uncommitted split for this task, re-executed on current main. Parked as a CI wait: checks are pending at head 6bde0bd with no failures. Note the CI production-line check may flag pre-existing over-limit files on main (pkgs/id/src/commands/serve.rs, pkgs/id/src/directory.rs) — that failure mode is already tracked as issue #6959 and is not caused by this PR. Resume: when PR #8382 checks complete, merge if green (a red production-line check that lists only serve.rs/directory.rs is the #6959 pre-existing failure — disposition it on the PR thread, do not expand this PR's scope). |
) Moves the impl WorldService block (744 lines) verbatim into the new world_session/service.rs submodule; the type stays in types.rs and the public/re-export surface is unchanged. Two methods called from the session driver (try_reserve_module_upload, install_wasm_reserved) become pub(super); tests.rs imports Arc, Store and Compiler directly instead of through the slimmed mod.rs use-block. Removes the world_session/mod.rs grandfather entry from the F11.10 production-line guard in the same PR, as #4717 requires. Verified on the laptop: cargo test --lib world_session 64/64 pass; rustfmt clean; the guard no longer flags world_session/mod.rs (2,326 lines) or service.rs (778). The split adopts the approach of the uncommitted 2026-11-09 opencode worktree for this task, re-executed on current main.
6bde0bd to
35d1682
Compare
Summary
Splits pkgs/id/src/world_session/mod.rs below the F11.10 production-line limit and removes its grandfather entry from the guard, per #4717 (task 8835).
This adopts the approach of an uncommitted split found in an earlier session's worktree for this task (2026-11-09), re-executed mechanically on current main (main had since gained the #5543 session-topology work).
Evidence
Merge Danger
Door: two-way. Blast radius: pkgs/id world_session only — a mechanical code move with no behavior change; the full world_session test suite passes unchanged.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.